Conversation
| // undocumented | ||
| // zero cost variant of `std.range.iota` | ||
| /// | ||
| struct IotaMap() |
There was a problem hiding this comment.
I don't remember exactly, but you wanted to document it instead of setting it to private or protected?
There was a problem hiding this comment.
Dscanner rightfully complains about that as you shouldn't have anything that is public and undocumented...
f1a255e to
378579d
Compare
Current coverage is
|
9254e25 to
5058cb1
Compare
Imho it is one of the more useful switches as I found > 10 occurrences in the codebase of undocumented public methods. So I would like to keep that flag. |
OK, document it) |
8d8c32a to
9f47784
Compare
like this or with more text? |
few words |
source/mir/ndslice/selection.d
Outdated
| // undocumented | ||
| // zero cost variant of `std.range.iota` | ||
| /++ | ||
| Zero cost variant of `std.range.iota` |
There was a problem hiding this comment.
Zero cost variant of std.range.iota - this should be with // . Just add that this range is used for iotaSlice.
There was a problem hiding this comment.
Oh, left it, but with small change:
Zero cost variant of `std.range.iota` for iotaSlice.
And make std.range.iota a link to iota
9f47784 to
88bb7b4
Compare
|
updated - i used the new |
What is this and would it work for Phobos? |
Yep I recently found it dlang/phobos#4079 - i think it was part of a move to deprecate a lot of old macros within Phobos, but this PR stalled somehow. |
no |
I still had these small improvement laying around - with them I can enable
dscannerformir.ndsliceas it now passes our code style.It's mostly just > 120 lines, missing
const, better readability for numbers and undocumented methods.